/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Test;

import Model.Beans.Institution;
import Model.Beans.User;
import Model.Servicios.InstSrv;
import Model.Servicios.UserSrv;
import Model.Utilities.Constantes.TypeUser;

/**
 *
 * @author John Mex
 */
public class TestMex {
    
    public static void main(String args[]){
    
        Institution ins =  new Institution();
        User us = new User();
        us.setUsername("SSSSSSSSSSSSSSSSSSSSS");
        us.setPassword("123");
        us.setType(TypeUser.institution);
         UserSrv usSrv =  new UserSrv();
         usSrv.addUser(us);
        ins.setAddress("AAAAAAAAAAAAAA");
        ins.setName("NameInst");
        ins.setPhone("0909090");
        
        ins.setUser(us);
        
       
       
        
        InstSrv insSrv = new InstSrv();
        
        insSrv.addInstitution(ins);
        
        
    }
    
}
